package stdio.costa.imoca.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

public class TimeUtil {  
    public static String getDateString() {  
        SimpleDateFormat format = new SimpleDateFormat(TIME_FORMAT);  
        Date date = new Date();  
        String mydate = format.format(date);  
        return mydate;  
    }
    
    public static final String TIME_FORMAT = "yyyy-MM-dd HH:mm:ss";
}  